Searchanise\SmartWoocommerceSearch\FulltextSearch D

Total Complexity 184
Dependencies 5
Dependents 0
Total lines 1,199
Lines of code 594
Logical lines of code 355
Comment lines 347
Methods 44
Properties 7

Methods 44

Method Rating Maintainability Complexity Lines of code
sendSearchAndRequest()
C
32 26 104
prepareFiltersFromRequest()
C
40 25 50
executeSearchRequest()
A
37 14 69
getDidYouMeanText()
A
48 9 31
getCountAttribute()
A
53 9 24
getSortings()
A
50 8 29
catalogOrderby()
A
54 8 20
preGetPosts()
S
54 7 19
restrictProductCat()
S
54 6 20
priceFilterWidgetMinAmount()
S
58 5 15
priceFilterWidgetMaxAmount()
S
58 5 14
postsClausesRequest()
S
57 4 15
isReviewEnabled()
S
57 3 17
getDefaultSortings()
S
57 3 16
postsPreQuery()
S
70 4 6
getFilteredTermProductCountsQuery()
S
63 4 10
getLimits()
S
66 4 7
getProductIds()
S
63 3 11
foundPosts()
S
71 3 6
getIsUseRequestCache()
S
67 3 7
getTotalProducts()
S
74 2 4
getSuggestions()
S
74 2 4
setAttributeCount()
S
71 2 6
getAttributeCount()
S
71 2 6
isActive()
S
79 2 3
getFilters()
S
61 1 15
isSearchRequest()
S
80 2 3
priceFilterWidgetStep()
S
72 2 6
setAttributesCount()
S
81 1 3
getPriority()
S
82 1 3
checkAttributeCount()
S
79 1 3
getHooks()
S
76 1 5
getSuggestionLink()
S
71 1 6
getSortMapping()
S
79 1 3
getAttributesCount()
S
82 1 3
setSearchParams()
S
81 1 3
getSearchParams()
S
82 1 3
thePosts()
S
77 1 4
layeredNavCountMaybeCache()
S
82 1 3
setProductIds()
S
81 1 3
checkSearchResults()
S
80 1 3
getSearchResult()
S
82 1 3
setSearchResult()
S
74 1 5
__construct()
S
77 1 4